/**
 * 点击备注信息，弹框
 */
/*function remarkLayer1(scOrderId, nodeFlowId,remarkCode) {
    DGG.Layer.open(sysInfo.basePath + "/sc/general/allOrder/orderRemarks.html?scorderId=" + scOrderId + "&flowId=" + nodeFlowId+"&remarkCode="+remarkCode, {
        title: '备注记录',
        area: ['50%','70%'],
        btn: ""
    });
}*/

/*提交备注
 * scorderId :订单id
 * remarkCode ：备注类型
 */
/*function commitRemarkData1(scorderId, remarkCode) {
    var remark = $("#orderRemarkData").val();
    remark = remark.trim();
    if (!isNull($("#orderRemarkData"), 500)) {
        return flag = false;
    }
    DGG.confire("确认保存吗？", function () {
        $.ajax({
            url: '/sc/general/allOrder/saveOrderRemarks.do',
            data: {remark: remark, scorderId: scorderId, remarkCode: remarkCode},
            type: "POST",
            success: function (result) {
                if (result.code == 0) {
                    DGG.Layer.message('保存成功', {icon: '1'}, function () {
                        closeTabel();
                    });
                }
                else {
                    DGG.Layer.message('保存失败', {icon: '2'}, function () {
                        closeTabel();
                    });
                }
            }
        });

    });
}*/

//关闭
function closeTabel() {
    var index = parent.layer.getFrameIndex(window.name);
    parent.layer.close(index);
}

//刷新节点备注页面
function reloadOrderMark() {
    $('#allScProductOrder').dataTableExtend("reload")
}







